home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / nfsmount / RCS / voiddef.h,v < prev   
Text File  |  1989-10-10  |  1KB  |  58 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     89.09.14.13.50.18;  author douglis;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @define void * generically.
  17. @
  18.  
  19.  
  20.  
  21. 1.1
  22. log
  23. @Initial revision
  24. @
  25. text
  26. @/*
  27.  * voiddef.h --
  28.  *
  29.  *    Common include for all files to define void * in the face of
  30.  *    brain-damaged compilers.
  31.  *
  32.  * Copyright 1989 Regents of the University of California
  33.  * Permission to use, copy, modify, and distribute this
  34.  * software and its documentation for any purpose and without
  35.  * fee is hereby granted, provided that the above copyright
  36.  * notice appear in all copies.  The University of California
  37.  * makes no representations about the suitability of this
  38.  * software for any purpose.  It is provided "as is" without
  39.  * express or implied warranty.
  40.  *
  41.  * $Voiddef: /sprite/lib/forms/RCS/proto.h,v 1.2 89/01/07 04:12:44 rab Exp $ SPRITE (Berkeley)
  42.  */
  43.  
  44. #ifndef _VOIDDEF
  45. #define _VOIDDEF
  46.  
  47. #ifdef __STDC__
  48. typedef void *VoidPtr;
  49. #else /* __STDC__ */
  50. typedef int *VoidPtr;
  51. #endif /* __STDC__ */
  52.  
  53.  
  54.  
  55. #endif /* _VOIDDEF */
  56.  
  57. @
  58.